﻿@{
    ViewBag.Title = "Tempo Real";

    if (IsAjax)
    {
        Layout = null;
    
    <script src="@Url.Content("~/Scripts/jquery.visualize.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/intrep-temporeal.js")" type="text/javascript"></script>
    }
    else
    {
    <text>
    @section Scripts{
        <script src="@Url.Content("~/Scripts/jquery.visualize.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/intrep-temporeal.js")" type="text/javascript"></script>
    }
    </text>
    }
}
<h2>Performance por Hora</h2>
<div id="grafico">
@Html.Action("Grafico")
</div>
<br />
<h2>Progresso Total</h2>
<div id="progressbar"></div>